#include<iostream>
#include<pthread.h>


using namespace std;

void func(){
	cout<<"hello"<<endl;
}

int main(){
	pthread_t th = pthread_t(func);
	th.join();
	cout<<"this isa main thread"<<endl;
}
